import requests

def test():
    url = "http://127.0.0.1:8087/api/get_label"
    data = {"text": "美好的一天"}
    res = requests.post(url, data=data)
    print(res.text)

if __name__ == '__main__':
    test()